import request from "@/utils/request";

// 查询物料单位列表
export function listWldw(data) {
  return request({
    url: "/material/unit/list",
    method: "post",
    data,
  });
}
//新增
export function addWldw(data) {
  return request({
    url: "/material/unit",
    method: "post",
    data
  });
}
//修改
export function editWldw(data) {
  return request({
    url: "/material/unit",
    method: "put",
    data
  });
}
//修改
export function delWldw(id) {
  return request({
    url: "/material/unit/" + id,
    method: "delete",
  });
}
